package com.ruoyi.contrctrefund.mapper;

import java.util.List;
import com.ruoyi.contrctrefund.domain.HouseContrctRefund;

/**
 * 退租Mapper接口
 * 
 * @author hct
 * @date 2022-02-16
 */
public interface HouseContrctRefundMapper 
{
    /**
     * 查询退租
     * 
     * @param id 退租主键
     * @return 退租
     */
    public HouseContrctRefund selectHouseContrctRefundById(Long id);

    /**
     * 查询退租列表
     * 
     * @param houseContrctRefund 退租
     * @return 退租集合
     */
    public List<HouseContrctRefund> selectHouseContrctRefundList(HouseContrctRefund houseContrctRefund);

    /**
     * 新增退租
     * 
     * @param houseContrctRefund 退租
     * @return 结果
     */
    public int insertHouseContrctRefund(HouseContrctRefund houseContrctRefund);

    /**
     * 修改退租
     * 
     * @param houseContrctRefund 退租
     * @return 结果
     */
    public int updateHouseContrctRefund(HouseContrctRefund houseContrctRefund);

    /**
     * 删除退租
     * 
     * @param id 退租主键
     * @return 结果
     */
    public int deleteHouseContrctRefundById(Long id);

    /**
     * 批量删除退租
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHouseContrctRefundByIds(Long[] ids);
}
